package com.example.match.mui;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;

/**
 * Created by fairplay on 2018/5/29.
 */

public abstract class BaseActivity extends Activity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    /**
     * 初始化数据
     */
    protected abstract void initData();
    /**
     * 初始化控件
     */
    protected abstract void initView();

    /**
     * 初始化对象
     */
    protected abstract void initObject();

    /**
     * 事件监听
     */
    protected abstract void setListener();

}
